public class SplittingStrings {

	public static void main(String[] args) {
		String text = "fiсrst, s_econd; \n\tthird;; forth/fifth";
		String separatorPattern = "\\W+";
		String[] parts = text.split(separatorPattern);
		for (String part : parts) {
			System.out.println(part);
		}
	}

}
